﻿using Sustainalytics.EsgRatings.BusinessLogic;
using Sustainalytics.LongRunningTaskManager.Interface;

namespace Sustainalytics.ESGRatings.Service
{
    public class WeightMatrixUploadDto : FileManagerFileTaskParam
    {
        public string Id { get; set; } //matrix id

        public string AccountId { get; set; }

        public string Name { get; set; }


        public static implicit operator WeightMatrixUploadInfo(WeightMatrixUploadDto d)
        {
            return new WeightMatrixUploadInfo
                       {
                           AccountId = d.AccountId,
                           Id = d.Id,
                           Name = d.Name
                       };
        }
    }
}
